package com.wind.taobao.api.trade.item.rest
{
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.item.recommend.add  Response
	 * @author fxy
	 *
	 */
	public class ItemRecommendAddResponse extends TaobaoResponse
	{
		/**
		 * Y 	 商品id（32位字符id）
		 */
		[Bindable]
		public var iid:String;
		/**
		 * Y 	商品修改时间。格式:yyyy-MM-dd HH:mm:ss
		 */
		[Bindable]
		public var modified:String;

		public function ItemRecommendAddResponse(response:TaobaoResponse=null)
		{
			super(response);
			initResults();
		}

		private function initResults():void
		{
			if (body != null && this.isSuccess)
			{
				if (this.format == "xml")
				{

				}
				else
				{
					if (body["rsp"].hasOwnProperty("iid"))
						iid=body["rsp"]["iid"];
					if (body["rsp"].hasOwnProperty("modified"))
						modified=body["rsp"]["modified"];
				}
			}
		}
	}
}